﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Odyssey.Web.Models;

namespace Odyssey.Web.Areas.Admin.Models
{
    public class PermissionHelper
    {
        public static bool CanDo(string module, string action)
        {
            if (!SessionManager.IsLogin())
            {
                return false;
            }
            if (SessionManager.UserPermits == null)
            {
                return false;
            }
            return true;
        }
    }
}